<?php
	require("libraries/student.php");
	class Customer extends Student{
		public function __construct(){
			parent::__construct();
			$this->load->helper("url");
		}
		public function index(){
			$data['act'] = "3";
			$data['title'] = "Danh sách khách hàng";
			$data['template'] = "customer/list_customer";
			$this->load->view("layout",$data);
		}
		public function add(){
			$data['act'] = "3";
			$data['title'] = "Thêm mới khách hàng";
			$data['template'] = "customer/add_customer";
			$this->load->view("layout",$data);
		}
		public function update(){
			$data['act'] = "3";
			$data['title'] = "Sửa thông tin khách hàng";
			$data['template'] = "customer/edit_customer";
			$this->load->view("layout",$data);
		}
	}